import unittest
from testcase.test_01_login import Test_Login
from testcase.test_02_adduser import User_Add
from testcase.test_03_search import Search
from testcase.test_04_cp import Cp
from testcase.test_05_del import User_Delete

# 创建测试套件
suite = unittest.TestSuite()

# 按顺序添加测试
suite.addTest(Test_Login('test_01_login'))
suite.addTest(User_Add('test_02_add_user'))
suite.addTest(Search('test_03_search'))
suite.addTest(Cp('test_04_cp'))
suite.addTest(User_Delete('test_05_del'))

# 运行测试
runner = unittest.TextTestRunner()
runner.run(suite)
